package com.example.demo.entity;

import com.example.demo.service.Course2Service;

public class Datas {
    private String jxb_ids;
    private String kch_id;
    private String kcmc;
    private String rwlx;
    private String rlkz;
    private String rlzlkz;
    private String sxbj;
    private String xxkbj;
    private String qz;
    private String cxbj;
    private String xkkz_id;
    private String njdm_id;
    private String zyh_id;
    private String kklxdm;
    private String xklc;
    private String xkxnm;
    private String xkxqm;

    public Datas(String name, Course2Service course2Service,String jxb_ids,String kcmc_tmp,String kch_id) {
        Course2 course2 = course2Service.getByName(name);
        rwlx = course2.getRwlx();
        rlkz = course2.getRlkz();
        cxbj = course2.getCxbj();
        xkkz_id = course2.getXkkz_id();
        njdm_id = course2.getNjdm_id();
        zyh_id = course2.getZyh_id();
        kklxdm = course2.getKklxdm();
        xkxnm = course2.getXkxnm();
        xkxqm = course2.getXkxqm();

        this.jxb_ids = jxb_ids;
        this.kch_id = kch_id;
        kcmc = kcmc_tmp;
        rlzlkz = "1";
        sxbj = "1";
        xxkbj = "0";
        qz = "0";
        cxbj = "0";
        xklc = "1";
    }

    public String getJxb_ids() {
        return jxb_ids;
    }

    public void setJxb_ids(String jxb_ids) {
        this.jxb_ids = jxb_ids;
    }

    public String getKch_id() {
        return kch_id;
    }

    public void setKch_id(String kch_id) {
        this.kch_id = kch_id;
    }

    public String getKcmc() {
        return kcmc;
    }

    public void setKcmc(String kcmc) {
        this.kcmc = kcmc;
    }

    public String getRwlx() {
        return rwlx;
    }

    public void setRwlx(String rwlx) {
        this.rwlx = rwlx;
    }

    public String getRlkz() {
        return rlkz;
    }

    public void setRlkz(String rlkz) {
        this.rlkz = rlkz;
    }

    public String getRlzlkz() {
        return rlzlkz;
    }

    public void setRlzlkz(String rlzlkz) {
        this.rlzlkz = rlzlkz;
    }

    public String getSxbj() {
        return sxbj;
    }

    public void setSxbj(String sxbj) {
        this.sxbj = sxbj;
    }

    public String getXxkbj() {
        return xxkbj;
    }

    public void setXxkbj(String xxkbj) {
        this.xxkbj = xxkbj;
    }

    public String getQz() {
        return qz;
    }

    public void setQz(String qz) {
        this.qz = qz;
    }

    public String getCxbj() {
        return cxbj;
    }

    public void setCxbj(String cxbj) {
        this.cxbj = cxbj;
    }

    public String getXkkz_id() {
        return xkkz_id;
    }

    public void setXkkz_id(String xkkz_id) {
        this.xkkz_id = xkkz_id;
    }

    public String getNjdm_id() {
        return njdm_id;
    }

    public void setNjdm_id(String njdm_id) {
        this.njdm_id = njdm_id;
    }

    public String getZyh_id() {
        return zyh_id;
    }

    public void setZyh_id(String zyh_id) {
        this.zyh_id = zyh_id;
    }

    public String getKklxdm() {
        return kklxdm;
    }

    public void setKklxdm(String kklxdm) {
        this.kklxdm = kklxdm;
    }

    public String getXklc() {
        return xklc;
    }

    public void setXklc(String xklc) {
        this.xklc = xklc;
    }

    public String getXkxnm() {
        return xkxnm;
    }

    public void setXkxnm(String xkxnm) {
        this.xkxnm = xkxnm;
    }

    public String getXkxqm() {
        return xkxqm;
    }

    public void setXkxqm(String xkxqm) {
        this.xkxqm = xkxqm;
    }
}
